function foo() {
  var a = (b = 100)
}

foo()

console.log(a)
console.log(b)
